import httpInstance from '@/network/requestConfig'

export function addAddressData(data) {
    return httpInstance({
        url:'/address/',
        method:'post',
        data
    })
}


export function getAllAddressesData() {
    return httpInstance({
        url:'/address',
        method:'get'
    })
}

export function editAddressData(data) {
    return httpInstance({
        url:'/address/edit/',
        method:'post',
        data
    })
}